home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 May / maximum-cd-2001-05.iso / Blade of Darkness / data1.cab / Program_Executable_Files / Maps / Ragnar_M2 / InicioScene.py < prev    next >
Encoding:
Python Source  |  2000-11-16  |  2.4 KB  |  86 lines

  1. from math import pow
  2. import Bladex
  3. import GameText
  4. import Torchs
  5. import Scorer
  6. import EnemyTypes
  7. import Raster
  8. import pocimac
  9. import Scorer
  10. import AuxFuncs
  11.  
  12. AuxFuncs.SingleFrameFade()
  13. Scorer.SetVisible(0)
  14.  
  15.  
  16. ##caballero traidor 2 en mazmorras 
  17.  
  18. Espadaromana=Bladex.CreateEntity("RagnarEspadaromana2","Gladius",0,0,0)
  19. Espadaromana.Weapon=1
  20. Breakings.SetBreakableWS("RagnarEspadaromana2")
  21. escudo=Bladex.CreateEntity("RagnarEsc2kgt","Escudo5",0,0,0)
  22. Sparks.MakeShield("RagnarEsc2kgt")
  23. Breakings.SetBreakableWS("RagnarEsc2kgt")
  24. potion=Bladex.CreateEntity("Kngtant2Potion","PocimaTodo",0,0,0)
  25. potion.Static=0
  26. potion.Solid=1
  27. potion.Scale=1.220190
  28. pocimac.CreatePotion("Kngtant2Potion")
  29.  
  30. o=Bladex.CreateEntity("Kngtant2","Antorcha",0,0,0,"Weapon")
  31. o.FiresIntensity=[ 5 ]
  32. o.Lights=[ (15.000000,0.031250,(255,196,128)) ]    
  33. Torchs.SetUsable("Kngtant2",3,3,20)
  34.  
  35.  
  36. pers=Bladex.CreateEntity("2kngt","Knight_Traitor",-98100, 1000, 70200,"Person")
  37. pers.Angle=3.7
  38. pers.Level=0
  39. #pers.ActionAreaMin=pow(2,0)
  40. #pers.ActionAreaMax=pow(2,1)
  41. EnemyTypes.EnemyDefaultFuncs(pers)
  42. Actions.TakeObject(pers.Name,"Kngtant2")
  43. Actions.TakeObject(pers.Name,"Kngtant2Potion")
  44. pers.Blind=1
  45. pers.Deaf=1
  46.  
  47. #AniSound.AsignarSonidosCaballeroTraidor('2kngt')
  48.  
  49. #pers.AddBayPoint=-98100, 1000, 70200
  50. #pers.AddBayPoint=-93051.8141374, 932.947014954, 71237.154
  51. #pers.AddBayPoint=-85890.8616155, 932.604150047, 71641.050
  52. #pers.AddBayPoint=-77306.4370715, 930.238760653, 71144.891
  53. #pers.AddBayPoint=-76392.7903621, 931.640361443, 69432.1411
  54. #pers.AddBayPoint=-77226.7815714, 932.134043412, 67912.4388
  55. #pers.AddBayPoint=-80903.432048, 930.154812849, 67043.845
  56. #pers.AddBayPoint=-87931.4914835, 931.914836803, 66960.075
  57. #pers.AddBayPoint=-96978.6259705, 929.289814233, 67383.396
  58. #pers.AddBayPoint=-98334.241998, 931.336597073, 69086.004
  59.  
  60. sec2kngt=Bladex.GetSector(-70000, -5000, 85000)
  61.  
  62. sec2kngt.OnEnter=Despierta2kngt
  63.  
  64.     
  65.     
  66.  
  67. Bladex.AddScheduledFunc(Bladex.GetTime(),RagnarInicio,())
  68.  
  69. ############################################
  70.  
  71.  
  72. ApagalaSec4 = Bladex.GetSector(-65082.6396779, -319.785933817, 77606.801)
  73. ApagalaSec4.OnEnter = Apagala4
  74.  
  75.  
  76.  
  77. ########################
  78. ### Tejados que resbalan
  79. ########################
  80.  
  81. Bladex.GetSector(-122026, -13441, 25155).TooSteep=1
  82. Bladex.GetSector(-120580, -2000, 58000).TooSteep=1
  83. Bladex.GetSector(-120580, -2000, 52200).TooSteep=1
  84. Bladex.GetSector(-110000, 0, -103750).TooSteep=1
  85. Bladex.GetSector(-110000, 0, -104750).TooSteep=1
  86.